import request from '@/utils/request'

// 获取门店
export function getStore(data) {
    return request({
        url: '/General/get_store',
        method: 'post',
        data: data
    })
}

// 获取列表
export function getLinkInfo(data,page) {
    return request({
        url: '/Wx_message_template/template_list/'+(page?page:1),
        method: 'post',
        data: data
    })
}

// 列表分页
export function getLinkInfoPage(data) {
    return request({
        url: '/Wx_message_template/template_page',
        method: 'post',
        data: data
    })
}


// 获取列表
export function getMessageInfo(data,page) {
    return request({
        url: '/Wx_message_notification/sample_list/'+(page?page:1),
        method: 'post',
        data: data
    })
}

// 列表分页
export function getMessageInfoPage(data) {
    return request({
        url: '/Wx_message_notification/sample_page',
        method: 'post',
        data: data
    })
}

export function sampleCreate(data) {
    return request({
        url: '/Wx_message_notification/sample_create',
        method: 'post',
        data: data
    })
}
